home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- The QuickBASIC Tutorial Series
-
-
-
-
- Copyright 1986 Ford Software
-
- 4845 Willowbend Blvd
- Houston, TX 77035
- (713) 721-5205
- CompuServe ppn: 71355,470
-
-
-
- This Tutorial may not be copied or distributed in any form -
- printed, on disk or electronically - without the express
- written permission of Ford Software.
-
- Unlicensed distribution is a violation of copyright law
- and may be subject to civil and criminal prosecution.
-
-
-
- QuickBASIC is the trademark of the Microsoft Corporation.
- Ford Software is not associated in any way with the Microsoft
- Corporation.
-
-
- To get started, copy these files into your QB directory or
- onto your QB disk and at the DOS prompt, enter QB TUTOR-##
- where "##" is the lesson number.
-
-
-
- Lesson 1
-
- The QuickBASIC Editor
-
- page
- 4 The Editor's Screen
- 5 The Keyboard
- 6 ..Restoring a Changed Line
- 6 ..Cut and Paste
- 7 ..Copying
- 7 ..Deleting Whole Lines
- 8 The Menu
- 8 ..Edit
- 8 ..File
- 9 ..View
- 9 ..Search
- 10 ....Change
- 11 ..Run (Compiling and Running)
- 12 Review
-
-
-
- The QuickBASIC Tutorial Series - page 2
-
-
- Lesson 2
-
- Introduction to Programming
-
- page
- 4 What's a Program
- 4 What's a Variable
- 5 Integer Variables
- 6 Single Precision Variables
- 6 Double Precision Variables
- 6 String Variables
- 7 Declaring Variable Types
- 7 Review
- 8 Examples of Variable Types
- 9 Arrays
- 9 Loops
- 10 FOR-NEXT Loops
- 11 WHILE-WEND Loops
- 12 String Handling Commands
- 13 String Operators
- 14 Other String Commands
-
-
- Lesson 3
-
- Data Entry and Screen Control
-
- page
- 4 INPUT Command
- 5 LINE INPUT Command
- 6 INKEY$ Function
- 7 Printing to the Screen
- 8 PRINT USING Command
- 9 LOCATE Command
- 10 Turning Cursor Off/On
- 10 Changing Size of Cursor
- 11 CLS Command
- 11 CSRLIN Function
- 11 POS(0) Function
- 11 COLOR Command
-
-
- Lesson 4
-
- File Input/Output
-
- page
- 4 The FILES Command
- 5 Types of Files
- 6 OPEN - Sequential
- 7 Writing to a Sequential File
- 11 Random Access Files
- 12 The FIELD and GET Statements
- 14 LSET / RSET
- 15 More about FIELDing
- 17 Opening Non-Data Files
- 18 Compressing Numbers
- 19 EOF, LOF and LOC
-
-
-
- The QuickBASIC Tutorial Series - page 2
-
-
-
- Lesson 10
-
- From Plain BASIC to QB2
-
- page
- 4 Labels and Line Numbers
- 5 Long Lines
- 6 Code Readability
- 7 Program Structure
- 8 Getting Rid of GOTO's
- 8 ..Interpretive BASIC example
- 8 ..In QB2 format
- 10 Replacing IF-THEN With WHILE-WEND
- 11 Block IF-THEN-ELSEIF-ELSE-END_IF
-
-
-
-
- As you work each lesson, you should have your QB2 manual
- handy so that you can read about each topic in the manual for
- detailed information that may not appear in the tutorial.
- The purpose of the tutorial is to supplement, not to replace,
- the QB2 manual.